#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/1/30 16:22
# @Author : 闫峰
# @File    : url_code.py
def url_parse(data):
    from urllib.parse import quote

    encoded_data = quote(str(data))
    return encoded_data
